package com.zhixiang.xaec.entity.safebase.saferesponsibility;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.cfg.Comment;

import com.googlecode.jsonplugin.annotations.JSON;
import com.zhixiang.xaec.entity.BaseEntity;

@Comment("工作重点")
@Table(name="safe_workmain")
@Entity
public class WorkMain extends BaseEntity{

	@Comment("规划名称")
	private String planName;
	
	@Comment("规划等级:1.班组级、2.部门级、3.企业级")
	private Integer planLevel;
	
	@Comment("规划类别:1.生产计划、2.劳动工资计划、3.财务计划、4.技术组织措施计划、5.其他计划")
	private Integer planType;
	
	@Comment("规划内容说明")
	@Column(length=1000)
	private String planContent;
	
	@Comment("上传时间")
	private Date uploadDate;

	public String getPlanName() {
		return planName;
	}

	public void setPlanName(String planName) {
		this.planName = planName;
	}

	public Integer getPlanLevel() {
		return planLevel;
	}

	public void setPlanLevel(Integer planLevel) {
		this.planLevel = planLevel;
	}

	public Integer getPlanType() {
		return planType;
	}

	public void setPlanType(Integer planType) {
		this.planType = planType;
	}

	public String getPlanContent() {
		return planContent;
	}

	public void setPlanContent(String planContent) {
		this.planContent = planContent;
	}

	@JSON(format="yyyy-MM-dd")
	public Date getUploadDate() {
		return uploadDate;
	}

	public void setUploadDate(Date uploadDate) {
		this.uploadDate = uploadDate;
	}
	
	
}
